<template>
  <el-container>
    <el-header class="header-color">
      <global-header :user="currentuser"></global-header>
    </el-header>
    <el-main>
      <router-view class="main-view"></router-view>
      <footer class="footer-class">
        <small>
          <ul class="foot-box">
            <li class="foot-item">© 2020 者也专栏</li>
            <li class="foot-item">课程</li>
            <li class="foot-item">文档</li>
            <li class="foot-item">联系</li>
            <li class="foot-item">更多</li>
          </ul>
        </small>
      </footer>
    </el-main>
    <!-- 设置加载中 -->
    <loader
      v-if="isLoading"
      text="拼命加载中"
      background="rgba(0,0,0,0.8)"
    ></loader>
  </el-container>
</template>
<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  setup() {},
});
</script>
